//引入请求库
import http from "../utils/http2";

/**
 *获取员工列表
 * @param {*} data
 * @returns
 */
export function getRoleList(data) {
  return http.post("/api/role/list", data);
}
export function getRoleList2() {
  return http.post("/api/role/list2");
}

export function updateRole(data) {
  return http.put("/api/role", data);
}
